package com.file.dao;

import com.file.entity.Pic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PicDao {

    List<Pic> selectAllPic();

    int save(@Param("pic") Pic pic);

    Pic findOne(String id);

}
